package org.geek4j.business.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Geek4J
 * @since 2016年3月20日下午9:44:54
 * @description Task Showcase
 */
@Slf4j
@Component
public class TaskShow {

	@Scheduled(fixedRate = 5 * 1000)
	public void showMsg() {
		log.error("Task showcase by Geek4J");
	}
}